echo "Computed By Wei on 2014/07/08 at school"
echo "The format of each data line:"
echo "col1: % index kept"
echo "col2: # of unpruned TOP10 document results retained@10"
echo "col3: # of unpruned TOP10 postings retained@10"
echo "col4: total # of TOP10 document results in unpruned index"
echo "col5: total # of TOP10 postings in unpruned index"
echo "col6: query processing cost in pruned index"
echo "col7: total query processing cost in unpruned index"
echo "col8: % of unpruned TOP10 document results retained@10"
echo "col9: % of unpruned TOP10 postings retained@10"
echo "col10: % of query processing cost"
echo

echo "********************************************************************************"
echo "dataset=clueweb09B dynamicWeight=0 queryLength=ALL numOfQueries=8690"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_ALL_weight_0_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_ALL_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_ALL_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_ALL_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_ALL_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_ALL_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_ALL_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_ALL_weight_0_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=0 queryLength=1 numOfQueries=0"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_1_weight_0_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_1_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_1_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_1_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_1_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_1_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_1_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_1_weight_0_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=0 queryLength=2 numOfQueries=2324"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_2_weight_0_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_2_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_2_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_2_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_2_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_2_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_2_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_2_weight_0_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=0 queryLength=3 numOfQueries=2522"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_3_weight_0_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_3_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_3_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_3_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_3_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_3_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_3_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_3_weight_0_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=0 queryLength=4 numOfQueries=1776"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_4_weight_0_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_4_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_4_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_4_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_4_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_4_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_4_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_4_weight_0_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=0 queryLength=5 numOfQueries=1116"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_5_weight_0_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_5_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_5_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_5_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_5_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_5_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_5_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_5_weight_0_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=0 queryLength=6 numOfQueries=659"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_6_weight_0_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_6_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_6_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_6_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_6_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_6_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_6_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_6_weight_0_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=0 queryLength=7 numOfQueries=293"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_7_weight_0_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_7_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_7_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_7_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_7_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_7_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_7_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_7_weight_0_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=0 queryLength=8 numOfQueries=0"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_8_weight_0_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_8_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_8_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_8_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_8_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_8_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_8_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_8_weight_0_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=0 queryLength=9 numOfQueries=0"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_9_weight_0_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_9_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_9_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_9_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_9_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_9_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_9_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_9_weight_0_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=0 queryLength=10 numOfQueries=0"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_10_weight_0_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_10_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_10_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_10_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_10_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_10_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_10_weight_0_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_10_weight_0_20140709_REBORN) | join - tempPercentage)
echo

echo "********************************************************************************"
echo "dataset=clueweb09B dynamicWeight=3 queryLength=ALL numOfQueries=8690"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_ALL_weight_3_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_ALL_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_ALL_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_ALL_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_ALL_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_ALL_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_ALL_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_ALL_weight_3_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=3 queryLength=1 numOfQueries=0"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_1_weight_3_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_1_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_1_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_1_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_1_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_1_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_1_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_1_weight_3_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=3 queryLength=2 numOfQueries=2324"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_2_weight_3_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_2_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_2_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_2_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_2_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_2_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_2_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_2_weight_3_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=3 queryLength=3 numOfQueries=2522"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_3_weight_3_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_3_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_3_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_3_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_3_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_3_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_3_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_3_weight_3_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=3 queryLength=4 numOfQueries=1776"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_4_weight_3_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_4_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_4_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_4_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_4_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_4_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_4_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_4_weight_3_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=3 queryLength=5 numOfQueries=1116"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_5_weight_3_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_5_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_5_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_5_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_5_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_5_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_5_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_5_weight_3_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=3 queryLength=6 numOfQueries=659"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_6_weight_3_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_6_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_6_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_6_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_6_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_6_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_6_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_6_weight_3_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=3 queryLength=7 numOfQueries=293"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_7_weight_3_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_7_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_7_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_7_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_7_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_7_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_7_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_7_weight_3_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=3 queryLength=8 numOfQueries=0"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_8_weight_3_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_8_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_8_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_8_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_8_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_8_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_8_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_8_weight_3_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=3 queryLength=9 numOfQueries=0"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_9_weight_3_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_9_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_9_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_9_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_9_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_9_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_9_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_9_weight_3_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=3 queryLength=10 numOfQueries=0"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_10_weight_3_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_10_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_10_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_10_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_10_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_10_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_10_weight_3_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_10_weight_3_20140709_REBORN) | join - tempPercentage)
echo

echo "********************************************************************************"
echo "dataset=clueweb09B dynamicWeight=5 queryLength=ALL numOfQueries=8690"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_ALL_weight_5_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_ALL_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_ALL_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_ALL_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_ALL_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_ALL_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_ALL_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_ALL_weight_5_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=5 queryLength=1 numOfQueries=0"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_1_weight_5_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_1_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_1_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_1_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_1_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_1_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_1_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_1_weight_5_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=5 queryLength=2 numOfQueries=2324"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_2_weight_5_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_2_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_2_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_2_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_2_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_2_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_2_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_2_weight_5_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=5 queryLength=3 numOfQueries=2522"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_3_weight_5_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_3_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_3_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_3_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_3_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_3_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_3_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_3_weight_5_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=5 queryLength=4 numOfQueries=1776"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_4_weight_5_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_4_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_4_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_4_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_4_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_4_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_4_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_4_weight_5_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=5 queryLength=5 numOfQueries=1116"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_5_weight_5_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_5_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_5_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_5_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_5_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_5_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_5_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_5_weight_5_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=5 queryLength=6 numOfQueries=659"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_6_weight_5_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_6_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_6_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_6_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_6_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_6_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_6_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_6_weight_5_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=5 queryLength=7 numOfQueries=293"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_7_weight_5_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_7_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_7_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_7_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_7_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_7_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_7_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_7_weight_5_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=5 queryLength=8 numOfQueries=0"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_8_weight_5_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_8_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_8_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_8_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_8_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_8_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_8_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_8_weight_5_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=5 queryLength=9 numOfQueries=0"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_9_weight_5_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_9_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_9_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_9_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_9_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_9_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_9_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_9_weight_5_20140709_REBORN) | join - tempPercentage)
echo

echo "dataset=clueweb09B dynamicWeight=5 queryLength=10 numOfQueries=0"
awk '{print $10,$2,$3,$4,$5,$6,$8,$2/$4,$3/$5,$6/$8}' <(join <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10DocumentResultRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_10_weight_5_20140709_REBORN) <(awk 'BEGIN {counter=0} {if($1 == "numOfOriginalTOP10PostingRetainedAtTOP10Position:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_10_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10DocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_10_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "len(top10PostingWithDocumentResultDict):") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_10_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_10_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromPrunedIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_10_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel1:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_10_weight_5_20140709_REBORN) | join - <(awk 'BEGIN {counter=0} {if($1 == "totalEvaluationCostFromFullIndexModel2:") print counter++,$2;}' < evaluate_ALL_IN_ONE_clueweb09B_cutoff1000_queryLength_10_weight_5_20140709_REBORN) | join - tempPercentage)
echo
